<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
	<link href="/static/css/admin/style_new2019.css" rel="stylesheet"/>
	<link href="/static/font-awesome/css/font-awesome.min.css" rel="stylesheet">
	<title><?php echo L('website_manage');?></title>
	<script>
	var URL = '/index.php/Admin/Index';
	var SELF = '/index.php/admin/index/panel.html';
	var PAGE = '/index.php/admin/index/panel.html';
	var ROOT_PATH = '';
	var APP	 =	 '/index.php';
	//语言项目
	var lang = new Object();
	lang.connecting_please_wait = "请稍后...";
	lang.confirm_title = "提示消息";
	lang.move = "移动";
	lang.title_empty = "请输入宝贝名称";
	lang.iid_empty = "IID不能为空";
	lang.dialog_title = "消息";
	lang.dialog_ok = "确定";
	lang.dialog_cancel = "取消";
	lang.please_input = "请输入";
	lang.please_select = "请选择";
	lang.not_select = "不选择";
	lang.all = "所有";
	lang.input_right = "输入正确";
	lang.plsease_select_rows = "请选择要操作的项目！";
	lang.upload = "上传";lang.uploading = "上传中";
	lang.upload_type_error = "不允许上传的文件类型！";
	lang.upload_size_error = "文件大小不能超过{sizeLimit}！";
	lang.upload_minsize_error = "文件大小不能小于{minSizeLimit}！";
	lang.upload_empty_error = "文件为空，请重新选择！";
	lang.upload_nofile_error = "没有选择要上传的文件！";
	lang.upload_onLeave = "正在上传文件，离开此页将取消上传！";
	lang.menu_name="菜单名称";
	lang.module_name="模块名";
	lang.action_name="方法名";
	</script>
</head>

<body>

<div id="J_ajax_loading" class="ajax_loading"><?php echo L('ajax_loading');?></div>
<div style="height: 20px;width: 100%"></div>
<?php if(($sub_menu != '') OR ($big_menu != '')): ?><div class="subnav">
    <div class="content_menu ib_a blue line_x">
    	<?php if(!empty($big_menu)): ?><a class="add fb J_showdialog" href="javascript:void(0);" data-uri="<?php echo ($big_menu["iframe"]); ?>" data-title="<?php echo ($big_menu["title"]); ?>" data-id="<?php echo ($big_menu["id"]); ?>" data-width="<?php echo ($big_menu["width"]); ?>" data-height="<?php echo ($big_menu["height"]); ?>"><em><?php echo ($big_menu["title"]); ?></em></a>　<?php endif; ?>
        <?php if(!empty($sub_menu)): if(is_array($sub_menu)): $key = 0; $__LIST__ = $sub_menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$val): $mod = ($key % 2 );++$key; if($key != 1): ?><span>|</span><?php endif; ?>
        <a href="<?php echo U($val['module_name'].'/'.$val['action_name'],array('menuid'=>$menuid)); echo ($val["data"]); ?>" class="<?php echo ($val["class"]); ?>"><em><?php echo ($val['name']); ?></em></a><?php endforeach; endif; else: echo "" ;endif; endif; ?>
    </div>
</div><?php endif; ?>
<div class="pad_10">
    <div class="clearfix">

        <div class="col-2 fl mr10" style="width:100%">
            <h6>个人信息</h6>
            <div class="content" style="">
                您好，<b style="color:#06C"> <?php echo ($userInfo["user_name"]); ?></b> &nbsp;<?php if(is_array($userInfo['role_names'])): foreach($userInfo['role_names'] as $key=>$vo): ?>[<?php echo ($vo); ?>]<?php endforeach; endif; ?>
                <input type="submit" class="smt mr10 J_showdialog" value="修改密码" data-uri="<?php echo U('user/update_pwd');?>" data-title="修改密码" data-id="add" data-width="500" data-height="150">
                <input type="submit" class="smt mr10 J_showdialog" value="上传资料" data-uri="<?php echo U('File/useradd');?>" data-title="我的个人资料" data-id="add" data-width="500" data-height="150">
                <br />
                登录IP： <?php echo ($ip); ?> [ <?php echo ($time); ?>]<br />
                <div class="bk20 hr"><hr /></div>
                手机号：<span><font color="green"><?php echo ($userInfo["mobile"]); ?></font></span><br />
                所在城市：<span><font color="green"><?php echo ($userInfo["city"]); ?></font></span><br />
                所属公司：<span><font color="green"><?php echo ($userInfo["branch_name"]); ?></font></span><br />
                查看下属：
                <input type="submit" class="smt_danger mr10 J_showdialog" value="查看下属" data-uri="<?php echo U('user/look_sub_user',array('id'=>$userInfo['id']));?>" data-title="查询 - <?php echo ($userInfo["user_name"]); ?> -的所有下属" data-id="look_sub_user" data-width="200" data-height="350" title="查询 - <?php echo ($userInfo["user_name"]); ?> -的所有下属">
            </div>
        </div>

        <div class="bk10"></div>

        <!--<div class="col-2 fl mr10" style="width:48%">-->
            <!--<h6>系统信息</h6>-->
            <!--<div class="content" style="height:113px;">-->
                <!--服务器操作系统：<?php echo ($system_info["server_os"]); ?><br />-->
                <!--Web 服务器：<?php echo ($system_info["web_server"]); ?><br />-->
                <!--PHP 版本：<?php echo ($system_info["php_version"]); ?><br />-->
                <!--支持函数：<span class="<?php echo ($system_info["curl"]); ?>">远程读取</span>-->
                <!--<span class="onCorrect">编码转换</span>-->
                <!--<span class="<?php echo ($system_info["zlib"]); ?>">页面压缩</span>-->
                <!--<br />-->
            <!--</div>-->
        <!--</div>-->
        <!--<div class="col-2 col-auto">-->
            <!--<h6>特别声明</h6>-->
            <!--<div class="content" style="height:113px;">-->
                <!--1.本软件为收费软件，使用者必须在得到授权后使用。<br />-->
                <!--2.后续对软件的任何修改和功能扩展，最好联系相关软件开发人员。-->
            <!--</div>-->
        <!--</div>-->
    </div>
</div>
<script src="/static/js/jquery/jquery.js"></script>
<script src="/static/js/jquery/plugins/jquery.tools.min.js"></script>
<script src="/static/js/jquery/plugins/formvalidator.js"></script>
<script src="/static/js/yhxia.js"></script>
<script src="/static/js/admin.js"></script>
<script src="/static/js/dialog.js"></script>
<script>
//初始化弹窗   errNum   retData    errMsg
(function (d) {
    d['okValue'] = lang.dialog_ok;
    d['cancelValue'] = lang.dialog_cancel;
    d['title'] = lang.dialog_title;
})($.dialog.defaults);
</script>

<?php if(isset($list_table)): ?><script src="/static/js/jquery/plugins/listTable.js"></script>
<script>
$(function(){
	$('.J_tablelist').listTable();
});
</script><?php endif; ?>